body {
    background-color: #1d2a3c;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

div {
    position: absolute;
}

.lantern {
    width: 100%;
    height: 100%;
    transform: scaleY(0.5);
}

:root {
    --color1: rgba(50, 60, 70, 1);
    --color2: rgba(25, 30, 35, 1);
    --radius: 99px;
}

.hat {
    top: calc(50% - 100px);
    /*注意这里减号两边有空格，否则不生效*/
    left: 50%;
}

.hat .top {
    top: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background: var(--color1);
    border-radius: var(--radius);
}

.hat .body {
    top: -30px;
    left: -30px;
    width: 60px;
    height: 80px;
    background: var(--color2);
    border-radius: var(--radius);
}

.hat .brimtop {
    top: -20px;
    left: -40px;
    width: 80px;
    height: 80px;
    background: var(--color1);
    border-radius: var(--radius);
}

.hat .brimbody {
    top: -20px;
    left: -40px;
    width: 80px;
    height: 100px;
    background: var(--color2);
    border-radius: var(--radius);
}

.hat .handle {
    top: -65px;
    left: -45px;
    width: 90px;
    height: 120px;
    /* background-color: aqua; */
    border-radius: 20px;
    border-top: 6px solid rgba(100, 100, 100, 1);
    border-bottom: 6px solid rgba(100, 100, 100, 1);
    border-left: 3px solid rgba(70, 70, 70, 1);
    border-right: 3px solid rgba(140, 140, 140, 1);
    box-sizing: border-box;
    box-shadow: 0 -3px 0 rgba(150, 150, 150, 1);
}

.pedestal {
    top: calc(50% + 100px);
    left: 50%;
}

.pedestal .top {
    top: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background: var(--color1);
    border-radius: var(--radius);
}

.pedestal .body {
    top: -30px;
    left: -30px;
    width: 60px;
    height: 120px;
    background: var(--color2);
    border-radius: var(--radius);
}

.pedestal .shadow {
    top: 30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background-color: rgba(12, 15, 17, 1);
    border-radius: var(--radius);
    box-shadow: 0 0 30px rgba(#000, 0.8);
}

.lamp {
    top: 50%;
    left: 50%;
}

.lamp .body {
    top: -80px;
    left: -25px;
    width: 50px;
    height: 200px;
    background-color: rgba(250, 250, 250, 0.15);
    /* background-color: aqua; */
    border-radius: var(--radius);
    filter: drop-shadow(0 0 20px #fff);
}

.lamp .light {
    top: -80px;
    left: -25px;
    width: 50px;
    height: 200px;
    border-radius: var(--radius);
    box-shadow: 0 0 100px rgba(#e1d9cf, 0.5);
}

.lamp .fire {
    top: calc(50% + 65px);
    left: -15px;
    width: 30px;
    height: 30px;
    transform: scaleY(2);
    transform-origin: 50% 100%;
    animation: fire 50ms infinite alternate;
    z-index: 1;
}

.lamp .frame {
    width: 30px;
    height: 30px;
    background: linear-gradient(-45deg, #ff9800 0%, #ac1212 100%);
    border-radius: 0% 100% 33% 67%/0% 67% 33% 100%;
    transform: rotateZ(45deg);
}

@keyframes fire {
    0% {
        transform: scaleY(2.5);
    }
    100% {
        transform: scaleY(1.7);
    }
}